package com.example.demo.service;

import com.example.demo.pojo.Warehouse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehouseService {
    int deleteByPrimaryKey(Integer repertoryid);

    int insert(Warehouse record);

    int insertSelective(Warehouse record);

    Warehouse selectByPrimaryKey(Integer repertoryid);

    Warehouse selectByName(@Param("name") String name);

    Warehouse selectByUserId(Integer backgroundUserId);

    int updateByPrimaryKeySelective(Warehouse record);

    int updateByPrimaryKey(Warehouse record);

    List<Warehouse> selectAll();
    int updWareUserName(String userName,int userId);

}
